///////////////////////////////////////////////////////////
//  NewItemCommand.h
//  Implementation of the Class NewItemCommand
//  Created on:      21-Sep-2013 12:09:39 PM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_0E5E1374_4BFD_4cd0_9469_13E47B3FFD1B__INCLUDED_)
#define EA_0E5E1374_4BFD_4cd0_9469_13E47B3FFD1B__INCLUDED_

#include "ICommand.h"
#include "CCreateItemView.h"
#include "CCreateTemplateView.h"

namespace UI
{
  namespace CMD
  {
    class NewItemCommand : public ICommand
    {

    public:
      NewItemCommand(CCreateItemView* createItem, CCreateTemplateView* createTemplate);
      virtual ~NewItemCommand();
      virtual void Execute();
      virtual ICommand::CommandType GetType();

    private:
      ICommand::CommandType m_type;
      CCreateTemplateView* m_createTemplateView;
      CCreateItemView* m_createItemView;

    };

  }
}

#endif // !defined(EA_0E5E1374_4BFD_4cd0_9469_13E47B3FFD1B__INCLUDED_)
